package com.zh.work.entity.virtual;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zh.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("对账检查实体")
@TableName("virtual_check")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VirtualCheckEntity extends BaseEntity {
  private static final long serialVersionUID = -8992828359518595428L;
  @ApiModelProperty(value = "", name = "")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "对账日期", name = "checkDate")
  private String checkDate;
  @ApiModelProperty(value = "商户号", name = "merchNo")
  @TableField(value = "merchno")
  private String merchNo;
  @ApiModelProperty(value = "商户名称", name = "merchName")
  private String merchName;
  @ApiModelProperty(value = "虚拟账号", name = "cardNo")
  @TableField(value = "cardno")
  private String cardNo;
  @ApiModelProperty(value = "交易总金额", name = "transAmount")
  private Float transAmount;
  @ApiModelProperty(value = "交易总手续费", name = "transFee")
  private Float transFee;
  @ApiModelProperty(value = "充值总金额", name = "rechargeAmount")
  private Float rechargeAmount;
  @ApiModelProperty(value = "多充值金额(充值金额-(交易总金额-交易手续费))", name = "rechargeError")
  private Float rechargeError;
  @ApiModelProperty(value = "提现总金额", name = "payAmount")
  private Float payAmount;
  @ApiModelProperty(value = "提现总手续费", name = "payFee")
  private Float payFee;
  @ApiModelProperty(value = "账户余额", name = "cardAmount")
  private Float cardAmount;
  @ApiModelProperty(value = "多代付金额(代付总金额-账户余额 - 充值金额)", name = "payError")
  private Float payError;
  @ApiModelProperty(value = "对账结果(1-平账,2-异常)", name = "checkStatus")
  private Integer checkStatus;
  @ApiModelProperty(value = "严重性(0-无 1-低级,2-中级,3-高级)", name = "checkLevel")
  private Integer checkLevel;
  @ApiModelProperty(value = "统计时间", name = "addTime")
  private String addTime;
  @ApiModelProperty(value = "充值开始金额", name = "BeginAmount")
  @TableField(exist = false)
  private Float BeginAmount;
  @ApiModelProperty(value = "充值结束金额", name = "EndAmount")
  @TableField(exist = false)
  private Float EndAmount;
  @ApiModelProperty(value = "提现开始金额", name = "BeginAmount")
  @TableField(exist = false)
  private Float BeginPayAmount;
  @ApiModelProperty(value = "提现结束金额", name = "EndAmount")
  @TableField(exist = false)
  private Float EndPayAmount;

}
